package com.woniuxy.mapper;

import com.woniuxy.entity.SysOrganization;
import com.woniuxy.entity.SysTeam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysTeamOrganizationMapper {
    List<SysTeam> findSysTeam(@Param("doctorId") Integer doctorId, @Param("role") Integer role, @Param("orgId") Integer orgId, @Param("teamName") String teamName);
    List<SysTeam> findAllByOrgId(@Param("orgId") Integer orgId);

    SysOrganization findOrgByTeamId(@Param("teamId") Integer teamId);
}
